//
//  DataChoose.h
//  HOrangiOS
//
//  Created by YOrange on 2018/4/20.
//  Copyright © 2018年 YOrange. All rights reserved.
//



#import <UIKit/UIKit.h>

typedef void(^dataBack)(NSString *data,NSString *value);

typedef NS_ENUM(NSUInteger,DateType) {
    Year = 0,
    YearAndMonth = 1,
    YearMonthDay = 2,
};

@interface DataChoose : UIView

@property (assign, nonatomic) int high;


@property (assign, nonatomic) DateType type;

@property (copy, nonatomic) dataBack block;

-(void)show;

-(void)dismiss;

-(void)reload;

@end
